﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{
    public class BangCapService
    {
        public static List<BangCapDTO> LayDanhSachBangCap()
        {
            List<BangCapDTO> listBangCapDTO = new List<BangCapDTO>();
            try
            {
                BangCapRepository bangcapDAO = new BangCapRepository();
                listBangCapDTO = bangcapDAO.LayDanhSachBangCap();
            }
            catch (System.Exception)
            {
            }
            return listBangCapDTO;
        }
    }
}
